﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Add-Color.aspx.cs" Inherits="Add_Color" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
<div>
        <h4 class="heading">
            <asp:Label runat="server" CssClass="Header" ID="lblHeader" Text="Add/Edit Color"></asp:Label></h4>
        <asp:ValidationSummary ID="ValidationSummary1" runat="server" CssClass="valFailure"
            ValidationGroup="save" />
        <div class="divMargin">
           
            <div>
                <div class="leftClass">
                    <label>
                        <span class="Required">* </span>Color </label>
                </div>
                <div class="rightClass">
                    <asp:TextBox runat="server" ID="txtColor" CssClass="width"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtColor"
                        ErrorMessage="Please Enter Color" CssClass="Required" ValidationGroup="save">*</asp:RequiredFieldValidator>
                </div>
            </div>
        </div>
        <div align="center">
            <asp:Button runat="server" ID="btnsave" Text="Save" CssClass="Button" ValidationGroup="save"   OnClick="Save"
                />
            <asp:Button runat="server" ID="btnCancel" Text="Cancel" CssClass="cancel"  PostBackUrl="~/Color-List.aspx"
               />
        </div>
    </div>
</asp:Content>

